import request from "@/utils/request";
// 获取分类列表
export function getCategoryListService() {
  return request.get("/admin/category/list");
}
// 添加分类
export function addCategoryService(data) {
  return request.post("/admin/category/add", data);
}
// 修改分类
export function updateCategoryService(data) {
  return request.post("/admin/category/save", data);
}
// 删除分类
export function deleteCategoryService(data) {
  return request.post("/admin/category/del", data);
}
